package com.zhs.study.test;


import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import netscape.javascript.JSObject;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

/**

 * @author zhenghuisheng
 * @date : 2023/5/24
 */
public class First   {
    public static void main(String[] args) {
        String ss = "[{\"count(*)\":4}]";
        System.out.println(ss);
        JSONArray jsonArray = JSONArray.parseArray(ss);
        String string = jsonArray.getString(0);
        JSONObject jsonObject = JSONObject.parseObject(string);
        jsonObject.getString("count(*)");
        System.out.println();
        System.out.println(string);
    }
}
